<template>
	<view>
		<u-navbar placeholder fixed autoBack border :title="title"></u-navbar>
		<view class="d-p-30 d-font-30"><u-parse :content="rule"></u-parse></view>
	</view>
</template>

<script>
import rule from './rule.js';
export default {
	data() {
		return {
			title: '',
			rule: ''
		};
	},
	onLoad(e) {
		if (e.t == 'ys') {
			this.title = '隐私政策';
			this.rule = rule.yinshi;
		} else {
			this.title = '用户使用协议';
			this.rule = rule.shiyong;
		}
	}
};
</script>

<style lang="scss"></style>
